const yyyymmdd = () => {
    let date = new Date()
      let yyyy = date.getFullYear()
      let MM = (date.getMonth()+1).toString().padStart(2,0)
    
      let DD = date.getDate().toString().padStart(2,0)
      let HH = date.getHours().toString().padStart(2,0)
      let mm = date.getMinutes().toString().padStart(2,0)
// this.date = yyyy+'-'+MM+'-'+DD+' '+HH+':'+mm

return yyyy+'-'+MM+'-'+DD

}

module.exports = {
    yyyymmdd
}